package com.xiaomaoguai.log;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 *  slf4j日志
 *
 * @ ClassName: LogTest.java
 * @ Author: WeiHui-Z
 * @ Date: 2016/12/29 15:52
 * @ Version: v1.0.0
 */
public class LogTest {

	private static final Logger LOG = LoggerFactory.getLogger(LogTest.class);
	
	public static void main(String[] args) {
		if(LOG.isDebugEnabled()){
			LOG.info("公式编号: [{}], 表达式: [{}], 参数: [{}], 计算结果: [{}]", 1,2,3,4);
		}
	}
}
